home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / ply15dat.zip / QSADDLE.PI < prev    next >
Text File  |  1992-09-19  |  661b  |  29 lines

  1. // Generic Polyray input File
  2. // Polyray input file: Alexander Enzmann
  3.  
  4. // Set up the camera
  5. viewpoint {
  6.    from <0, 5, -5>
  7.    at   <0, 0,  0>
  8.    up   <0, 1,  0>
  9.    angle 30
  10.    resolution 160, 160
  11.    }
  12.  
  13. // Get various surface finishes
  14. include "..\colors.inc"
  15.  
  16. // Set up background color & lights
  17. background black
  18. light <10, 10, -20>
  19.  
  20. // Quartic saddle - looks like the quadric saddle, but is squared off in
  21. // the middle.  The equation is:
  22. object {
  23.      object { polynomial x^4 - z^4 - y }
  24.    & object { box <-1.5, -1.5, -1>, <1.5, 1.3, 1.5> }
  25.    bounding_box <-1.5, -1.5, -1>, <1.5, 1.3, 1.5>
  26.    rotate <0, 20, 0>
  27.    shiny_red
  28.    }
  29.